package com.yh.homestay.service;

import com.yh.homestay.common.GuestsCarEditResult;
import com.yh.homestay.common.HomeStayResult;
import com.yh.homestay.pojo.GuestsCar;

import java.util.List;

public interface GuestsCarService {
    /**
     *查看车辆信息列表
     */
    HomeStayResult selectAll(Integer page, Integer limit, String carType);
    /**
     * 添加车辆
     */
    HomeStayResult addCar(GuestsCar guestsCar);
    /**
     * 删除车辆信息
     *
     */
    HomeStayResult delete(String id);
    /**
     * 修改车辆信息
     *
     */
    HomeStayResult update(String carId,String carType,String carColor,Integer carHoldCount,Integer carStatus);
    /**
     *
     */
    GuestsCarEditResult selectone(String id);
    /**
     * 查询单个车辆
     */
    GuestsCarEditResult selecteCarById(String id);
    /**
     *
     */
    GuestsCarEditResult updateGuestsCar(GuestsCar guestsCar);
    /**
     *
     */
    HomeStayResult deleteCarS(List<String> ids);
}
